package com.learn.eduadboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 广告表
 * </p>
 *
 * @author m
 * @since 2022-04-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="PromotionAd对象", description="广告表")
public class PromotionAd implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "广告名")
    private String name;

    @ApiModelProperty(value = "广告位id")
    private Integer spaceId;

    @ApiModelProperty(value = "精确搜索关键词")
    private String keyword;

    @ApiModelProperty(value = "静态广告的内容")
    private String htmlContent;

    @ApiModelProperty(value = "文字一")
    private String text;

    @ApiModelProperty(value = "链接一")
    private String link;

    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    private Date createTime;

    private Date updateTime;

    private Integer status;

    @ApiModelProperty(value = "优先级")
    private Integer priority;

    private String img;


}
